﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
namespace EMC.VISITOR.Application;

    /// <summary>
    /// 汽車出入門禁記錄输出参数
    /// </summary>
    public partial class HKCrossRecordDto
    {
        /// <summary>
        /// 停車庫名稱
        /// </summary>
        public string? parkName { get; set; }
        
        /// <summary>
        /// 出/入
        /// </summary>
        public string? roadwayName { get; set; }
        
        /// <summary>
        /// 車牌號碼
        /// </summary>
        public string? plateNo { get; set; }
        
        /// <summary>
        /// 出入時間
        /// </summary>
        public DateTime? corssTimeOk { get; set; }
        
        /// <summary>
        /// 是否出場
        /// </summary>
        public long? vehicleOut { get; set; }
        
        /// <summary>
        /// 放行結果
        /// </summary>
        public long? releaseResult { get; set; }
        
        /// <summary>
        /// 放行方式
        /// </summary>
        public long? releaseWay { get; set; }
        
        /// <summary>
        /// Id
        /// </summary>
        public long Id { get; set; }
        
        /// <summary>
        /// 過車記記唯一標識
        /// </summary>
        public string? crossRecordSyscode { get; set; }
        
        /// <summary>
        /// 停車庫唯一標識
        /// </summary>
        public string? parkSyscode { get; set; }
        
        /// <summary>
        /// 出入口唯一標識
        /// </summary>
        public string? entranceSyscode { get; set; }
        
        /// <summary>
        /// 出入口名稱
        /// </summary>
        public string? entranceName { get; set; }
        
        /// <summary>
        /// 車道唯一標識
        /// </summary>
        public string? roadwaySyscode { get; set; }
        
        /// <summary>
        /// 卡片號碼
        /// </summary>
        public string? cardNo { get; set; }
        
        /// <summary>
        /// 圖片服務唯一標識
        /// </summary>
        public string? aswSyscode { get; set; }
        
        /// <summary>
        /// 通過時間
        /// </summary>
        public string? crossTime { get; set; }
        
        /// <summary>
        /// 創建時間
        /// </summary>
        public string? createTime { get; set; }
        
    }

    
  /// <summary>
    /// 汽車出入門禁記錄导出导入
    /// </summary>
    [ExcelExporter(Name = "汽車出入門禁記錄", TableStyle = OfficeOpenXml.Table.TableStyles.None, AutoFitAllColumn = true,AutoCenter =true)]
    [ExcelImporter( IsLabelingError = true,SheetName ="汽車出入門禁記錄")]
    public partial class ExportImportHKCrossRecordDto
    {
        /// <summary>
        /// 停車庫名稱
        /// </summary>
        [ExporterHeader(DisplayName = "停車庫名稱", IsBold = true)]
        [ImporterHeader(Name = "停車庫名稱")]
        public virtual string? parkName { get; set; }
        
        /// <summary>
        /// 出/入
        /// </summary>
        [ExporterHeader(DisplayName = "出/入", IsBold = true)]
        [ImporterHeader(Name = "出/入")]
        public virtual string? roadwayName { get; set; }
        
        /// <summary>
        /// 車牌號碼
        /// </summary>
        [ExporterHeader(DisplayName = "車牌號碼", IsBold = true)]
        [ImporterHeader(Name = "車牌號碼")]
        public virtual string? plateNo { get; set; }
        
        /// <summary>
        /// 出入時間
        /// </summary>
        [ExporterHeader(DisplayName = "出入時間", IsBold = true)]
        [ImporterHeader(Name = "出入時間")]
        public virtual DateTime? corssTimeOk { get; set; }
        
        /// <summary>
        /// 是否出場
        /// </summary>
        [ExporterHeader(DisplayName = "是否出場", IsBold = true)]
        [ImporterHeader(Name = "是否出場")]
        public virtual long? vehicleOut { get; set; }
        
        /// <summary>
        /// 放行結果
        /// </summary>
        [ExporterHeader(DisplayName = "放行結果", IsBold = true)]
        [ImporterHeader(Name = "放行結果")]
        public virtual long? releaseResult { get; set; }
        
        /// <summary>
        /// 放行方式
        /// </summary>
        [ExporterHeader(DisplayName = "放行方式", IsBold = true)]
        [ImporterHeader(Name = "放行方式")]
        public virtual long? releaseWay { get; set; }
        
        /// <summary>
        /// 過車記記唯一標識
        /// </summary>
        [ExporterHeader(DisplayName = "過車記記唯一標識", IsBold = true)]
        [ImporterHeader(Name = "過車記記唯一標識")]
        public virtual string? crossRecordSyscode { get; set; }
        
        /// <summary>
        /// 停車庫唯一標識
        /// </summary>
        [ExporterHeader(DisplayName = "停車庫唯一標識", IsBold = true)]
        [ImporterHeader(Name = "停車庫唯一標識")]
        public virtual string? parkSyscode { get; set; }
        
        /// <summary>
        /// 出入口唯一標識
        /// </summary>
        [ExporterHeader(DisplayName = "出入口唯一標識", IsBold = true)]
        [ImporterHeader(Name = "出入口唯一標識")]
        public virtual string? entranceSyscode { get; set; }
        
        /// <summary>
        /// 出入口名稱
        /// </summary>
        [ExporterHeader(DisplayName = "出入口名稱", IsBold = true)]
        [ImporterHeader(Name = "出入口名稱")]
        public virtual string? entranceName { get; set; }
        
        /// <summary>
        /// 車道唯一標識
        /// </summary>
        [ExporterHeader(DisplayName = "車道唯一標識", IsBold = true)]
        [ImporterHeader(Name = "車道唯一標識")]
        public virtual string? roadwaySyscode { get; set; }
        
        /// <summary>
        /// 卡片號碼
        /// </summary>
        [ExporterHeader(DisplayName = "卡片號碼", IsBold = true)]
        [ImporterHeader(Name = "卡片號碼")]
        public virtual string? cardNo { get; set; }
        
        /// <summary>
        /// 圖片服務唯一標識
        /// </summary>
        [ExporterHeader(DisplayName = "圖片服務唯一標識", IsBold = true)]
        [ImporterHeader(Name = "圖片服務唯一標識")]
        public virtual string? aswSyscode { get; set; }
        
        /// <summary>
        /// 通過時間
        /// </summary>
        [ExporterHeader(DisplayName = "通過時間", IsBold = true)]
        [ImporterHeader(Name = "通過時間")]
        public virtual string? crossTime { get; set; }
        
        /// <summary>
        /// 創建時間
        /// </summary>
        [ExporterHeader(DisplayName = "創建時間", IsBold = true)]
        [ImporterHeader(Name = "創建時間")]
        public virtual string? createTime { get; set; }
        
    }